const Mock = require('mockjs')

module.exports = [
  {
    url: '/vue-loader/template1',
    type: 'get',
    response: config => {
      return {
        code: 20000,
        data: {
          name: 'ssss',
          template: `<div>from template {{that.pageSize}}</div>`,
          // data: `{}`,
          c: `{
            data: function(){
              return {
                name: 'vue-loader'
              }
            },
            render: function(h){
              return (
                <div>
                  hello {this.name}
                </div>
              )
            }
          }`
        }
      }
    }
  }
]

